<script>
import { useStore, useCool } from "./cool";
// import "./router/index.ts";
import { getWeChatUpdate } from "@/utils";
const { router, service, mitt } = useCool();

export default {
	onLaunch: async function (options) {
		const { user } = useStore();
		// dict.refresh();
		console.log("App Launch", service, options);
		//#ifdef MP-WEIXIN
		// 微信更新提示
		getWeChatUpdate();
		//#endif
	},
	onShow: function () {
		console.log("App Show");
	},
	onHide: function () {
		console.log("App Hide");
	},
};
</script>

<style lang="scss">
@import "/@/static/css/iconfont.css";
@import "/@/static/css/index.scss";
@import "/@/cool/ui/index.scss";
</style>
